home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 41
/
Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso
/
Aminet
/
disk
/
optim
/
SFSTools.readme
< prev
Wrap
Text File
|
2001-01-02
|
4KB
|
118 lines
Short: Some tools for optimizing SFS file systems
Author: peoyli@algonet.se (P-O Yliniemi)
Uploader: peoyli@algonet.se (P-O Yliniemi)
Version: 0.8
Type: disk/optim
Requires: SFS 1.84 (http://www.xs4all.nl/~hjohn/SFS184.lha)
This is two tools I wrote, mainly for use with the SFS file system by
John Hendrikx.
The archive also contains a modified version of SFSdefragmentGUI, which
opens a much smaller, inactive window, and exits when it's done defragmenting.
To use these scripts, put every SFS command inside a 'SFS' directory in c:
(SFSCheck and this version of SFSdefragmentGUI is the ones really needed).
Also, put SFSTool and SFSOptimize inside this directory.
--- SFSTool ---
This script acts like a front-end for the SFSCheck and SFSdefragmentGUI
commands. It can be used to empty the .recycled directory, create a file
list for the partition, check and defragment the file system.
Every function of the script is optional, so you can have it do exactly
nothing for you if you wish to (but I guess that's not a good reason for
downloading it).
Usage:
SFSTool DEVICE/A,CLEAN/S,NOCHECK/S,NODEFRAG/S,LIST/S
DEVICE - Device to perform the actions on (required)
CLEAN - Remove the files in the .recycled directory
NOCHECK - Do not run SFSCheck on the device
NODEFRAG - Do not run SFSDefragmentGUI on the device
LIST - Generate a list of all the files and store as :.filelist
Default action is to check and defragment the partition.
For best performance, this command uses the GeekGadgets 'find' command to
create the file list, but it falls back on using 'list' if you do not have
'find'.
--- SFSOptimize ---
This script optimizes the file system to make finding the icons faster,
otherwise it does about the same thing as the SFSTool script.
This script requires 'find', 'tar' and 'sh' that comes with the
GeekGadgets distribution.
Usage:
SFSOptimize DEVICE/A,LIST/S,ICONDIR/K
DEVICE - Device to perform the actions on (required)
LIST - Generate a list of all the files and store as :.filelist
ICONDIR - Temporary location for icons, will otherwise be the work drive
Optimization is done by archiving together all the icons on the partition
(using a 'find' and 'tar' combination). When the archiving is complete,
the archive created is moved to the destination drive (or the directory
specified by the ICONDIR keyword).
All the icons on the partition is then deleted, and the .recycled directory
is wiped out. After this comes the first defragmentation of the drive, followed
by putting back the icons on the drive and then defragmenting again.
WARNING: If something goes wrong, or if you interrupt the whole process, you
will have no icons on the drive, but you will be able to find the 'icons.tar'
file in the drive's root directory, or in the location you specified.
To extract the icons into place again, change to the root directory of the drive
and enter
tar xf [full path to icons archive]icons.tar
It should work, but it's not my fault if it doesn't.
This command can also generate a file list, like SFSTool. The list is generated
after the .recycled directory has been wiped out for the first time.
--- SFSDoAll ---
A sample script on how to do everything specified on the command line on all
the drives. Modify as needed to suit your device names. Only for SFSTool.
--- History ---
22-Dec-2000: Added a PPC version of SFSdefragmentGUI. I really don't know if
it is faster, but it is an PPC version anyway. The IDE disks will,
no matter what I do, eat up all the 68k CPU time anyway.
21-Dec-2000: First Aminet release
-------------------
Other programs by me (first 'real' page update since 1996, so check it out!):
http://www.algonet.se/~peoyli
/PeO
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
12428 7598 38.8% 21-Dec-00 00:51:36 +SFSdefragmentGUI
15303 3958 74.1% 21-Dec-00 00:51:36 +SFSdefragmentGUI.c
41964 18361 56.2% 22-Dec-00 07:18:44 +SFSdefragmentGUI_PPC
1174 351 70.1% 21-Dec-00 01:38:22 +SFSDoAll
3872 1436 62.9% 21-Dec-00 01:12:08 +SFSOptimize
2114 987 53.3% 21-Dec-00 00:52:02 +SFSTool
3797 1687 55.5% 22-Dec-00 07:24:36 +SFSTools.readme
-------- ------- ----- --------- --------
80652 34378 57.3% 25-Dec-100 20:46:26 7 files